﻿using CalculatorOperationAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Operations
{
    public class Add:IOperation
    {
        public string Calculate(Dictionary<string, string> parameters)
        {
            int firstNumber = int.Parse(parameters["First Int Number"]);
            int secondNumber = int.Parse(parameters["Second Int Number"]);
            int result = firstNumber + secondNumber;

            return result.ToString();
        }

        public List<string> GetOperaionParameters()
        {
            List<string> paramters = new List<string>();

            paramters.Add("First Int Number");
            paramters.Add("Second Int Number");

            return paramters;
        }
    }
}
